package com.ddm.entity.webEntity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "StandardFile对象", description = "标准文件信息实体")
@TableName("standard_file")
public class StandardFile {

    @ApiModelProperty(value = "文件id")
    @TableId
    private Integer id;

    @ApiModelProperty(value = "标准id")
    @TableField("standard_id")
    private Integer standardId;

    @ApiModelProperty(value = "文件路径")
    @TableField("file")
    private String file;

    @ApiModelProperty(value = "逻辑删除标识：0-未删除，1-已删除")
    @TableLogic
    private Integer deleted;
}